package com.itheima.health.service;

import com.itheima.health.pojo.Member;

import java.util.List;

public interface MemberService {
    /**
     * 添加会员
     */
    Member creatMember(Member member);
    /**
     * 会员统计
     * @param list
     * @return
     */
    List<Integer> getMemberReport(List<String> list);

    /**
     * 根据ID进行查询
     *
     * @param memberId
     * @return
     */
    Member findById(Integer memberId);
}
